// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_SOB
// * CreateDate    : 2014-06-05 18:30:17
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:17
// * LastChanger   : 2014-06-05 18:30:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstSobTable : TableInfo
    {
		public const string C_TableName = "MST_SOB";
		
		public const string C_ID = "ID";
		public const string C_NAME = "NAME";
		public const string C_TYPE = "TYPE";
		public const string C_COMPANY_ID = "COMPANY_ID";
		public const string C_COMPANY_NAME = "COMPANY_NAME";
		public const string C_COMPANY_CODE = "COMPANY_CODE";
		public const string C_ADD = "ADD";
		public const string C_TEL = "TEL";
		
		public MstSobTable()
        {
            _tableName = "MST_SOB";
        }
		
		protected static MstSobTable _current;
        public static MstSobTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstSobTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_NAME, new ColumnInfo(C_NAME,"Name", false, typeof(string)));
            _current.Add(C_TYPE, new ColumnInfo(C_TYPE,"Type", false, typeof(string)));
            _current.Add(C_COMPANY_ID, new ColumnInfo(C_COMPANY_ID,"CompanyId", false, typeof(string)));
            _current.Add(C_COMPANY_NAME, new ColumnInfo(C_COMPANY_NAME,"CompanyName", false, typeof(string)));
            _current.Add(C_COMPANY_CODE, new ColumnInfo(C_COMPANY_CODE,"CompanyCode", false, typeof(string)));
            _current.Add(C_ADD, new ColumnInfo(C_ADD,"Add", false, typeof(string)));
            _current.Add(C_TEL, new ColumnInfo(C_TEL,"Tel", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo NAME
        {
            get { return this[C_NAME]; }
        }
		
		public ColumnInfo TYPE
        {
            get { return this[C_TYPE]; }
        }
		
		public ColumnInfo COMPANY_ID
        {
            get { return this[C_COMPANY_ID]; }
        }
		
		public ColumnInfo COMPANY_NAME
        {
            get { return this[C_COMPANY_NAME]; }
        }
		
		public ColumnInfo COMPANY_CODE
        {
            get { return this[C_COMPANY_CODE]; }
        }
		
		public ColumnInfo ADD
        {
            get { return this[C_ADD]; }
        }
		
		public ColumnInfo TEL
        {
            get { return this[C_TEL]; }
        }
		
		
		
	}
}

